package org.example.test.t1

import test.t1.CaptchaGenerator
import test.t1.ThreadComparison
import java.io.FileOutputStream

class TestVars {

}

fun main() {
    /*val captcha = CaptchaGenerator.generate()
    println("生成的验证码: " + captcha.text)


    // 保存到文件测试
    val fos = FileOutputStream("captcha.jpg")
    CaptchaGenerator.output(captcha, fos)
    fos.close()
    println("验证码已保存为 captcha.jpg")*/

    ThreadComparison.main(null)
}
